package com.suse.lhw.hms.exersiseserver.service.Impl;

import org.springframework.stereotype.Service;

import javax.annotation.Resource;

import com.suse.lhw.hms.exersiseserver.dao.EModelsOfPackageMapper;
import com.suse.lhw.hms.exersiseserver.domin.EModelsOfPackage;
import com.suse.lhw.hms.exersiseserver.service.EModelsOfPackageService;

/**
 * @ProjectName: health_manage_system
 * @Package: com.suse.lhw.hms.exersiseserver.service.Impl
 * @ClassName: EModelsOfPackageServiceImpl
 * @Description: java类作用描述
 * @Author: 李鸿炜
 * @CreateDate: 2020/5/3 21:26
 * @UpdateUser: 更新者
 * @UpdateDate: 2020/5/3 21:26
 * @UpdateRemark: 更新说明
 * @Version: 1.0
 */
@Service
public class EModelsOfPackageServiceImpl implements EModelsOfPackageService {

    @Resource
    private EModelsOfPackageMapper eModelsOfPackageMapper;

    @Override
    public int deleteByPrimaryKey(Integer id) {
        return eModelsOfPackageMapper.deleteByPrimaryKey(id);
    }

    @Override
    public int insert(EModelsOfPackage record) {
        return eModelsOfPackageMapper.insert(record);
    }

    @Override
    public int insertSelective(EModelsOfPackage record) {
        return eModelsOfPackageMapper.insertSelective(record);
    }

    @Override
    public EModelsOfPackage selectByPrimaryKey(Integer id) {
        return eModelsOfPackageMapper.selectByPrimaryKey(id);
    }

    @Override
    public int updateByPrimaryKeySelective(EModelsOfPackage record) {
        return eModelsOfPackageMapper.updateByPrimaryKeySelective(record);
    }

    @Override
    public int updateByPrimaryKey(EModelsOfPackage record) {
        return eModelsOfPackageMapper.updateByPrimaryKey(record);
    }

}

